using JTZY.Model.Order.Dto;
using JTZY.Model.Order;

namespace JTZY.Service.Order.IOrderService
{
    /// <summary>
    /// 退货单表service接口
    /// </summary>
    public interface ICorecmsbillreshipService : IBaseService<Corecmsbillreship>
    {
        PagedInfo<CorecmsbillreshipDto> GetList(CorecmsbillreshipQueryDto parm);
        PagedInfo<billreshipitemDto> GetStatistics(CorecmsbillreshipQueryDto parm);
        Corecmsbillreship GetInfo(string ReshipId);


        Corecmsbillreship AddCorecmsbillreship(Corecmsbillreship parm);
        int UpdateCorecmsbillreship(Corecmsbillreship parm);
        WebApiCallBack ToAdd(long userId, string orderId, Corecmsbillaftersales aftersales, List<Corecmsbillaftersalesitem> billAftersalesItems,List<Billaftersaledetail> billAftersalesDetails, string sourceType = "0");
    }
}
